/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.cosmact.vxml.model;

import org.cosmact.vxml.gefmodel.IGefModel;
import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Dialog</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.cosmact.vxml.model.Dialog#getId <em>Id</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Dialog#getXmlContent <em>Xml Content</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Dialog#getSourceConnections <em>Source Connections</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Dialog#getTargetConnections <em>Target Connections</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Dialog#getDialogType <em>Dialog Type</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Dialog#isStartDialog <em>Start Dialog</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.cosmact.vxml.model.ModelPackage#getDialog()
 * @model
 * @generated
 */
public interface Dialog extends IGefModel {
	/**
         * Returns the value of the '<em><b>Id</b></em>' attribute.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Id</em>' attribute.
         * @see #setId(String)
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_Id()
         * @model
         * @generated
         */
	String getId();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.Dialog#getId <em>Id</em>}' attribute.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Id</em>' attribute.
         * @see #getId()
         * @generated
         */
	void setId(String value);

	/**
         * Returns the value of the '<em><b>Xml Content</b></em>' containment reference.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Xml Content</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Xml Content</em>' containment reference.
         * @see #setXmlContent(DialogXmlContent)
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_XmlContent()
         * @model containment="true"
         * @generated
         */
	DialogXmlContent getXmlContent();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.Dialog#getXmlContent <em>Xml Content</em>}' containment reference.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Xml Content</em>' containment reference.
         * @see #getXmlContent()
         * @generated
         */
	void setXmlContent(DialogXmlContent value);

	/**
         * Returns the value of the '<em><b>Source Connections</b></em>' reference list.
         * The list contents are of type {@link org.cosmact.vxml.model.DialogConnection}.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Connections</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Source Connections</em>' reference list.
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_SourceConnections()
         * @model
         * @generated
         */
	EList<DialogConnection> getSourceConnections();

	/**
         * Returns the value of the '<em><b>Target Connections</b></em>' reference list.
         * The list contents are of type {@link org.cosmact.vxml.model.DialogConnection}.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target Connections</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Target Connections</em>' reference list.
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_TargetConnections()
         * @model
         * @generated
         */
	EList<DialogConnection> getTargetConnections();

	/**
         * Returns the value of the '<em><b>Dialog Type</b></em>' containment reference.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Dialog Type</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Dialog Type</em>' containment reference.
         * @see #setDialogType(DialogType)
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_DialogType()
         * @model containment="true"
         * @generated
         */
	DialogType getDialogType();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.Dialog#getDialogType <em>Dialog Type</em>}' containment reference.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Dialog Type</em>' containment reference.
         * @see #getDialogType()
         * @generated
         */
	void setDialogType(DialogType value);

	/**
         * Returns the value of the '<em><b>Start Dialog</b></em>' attribute.
         * The default value is <code>"false"</code>.
         * <!-- begin-user-doc -->
         * <p>
         * If the meaning of the '<em>Start Dialog</em>' attribute isn't clear,
         * there really should be more of a description here...
         * </p>
         * <!-- end-user-doc -->
         * @return the value of the '<em>Start Dialog</em>' attribute.
         * @see #setStartDialog(boolean)
         * @see org.cosmact.vxml.model.ModelPackage#getDialog_StartDialog()
         * @model default="false"
         * @generated
         */
        boolean isStartDialog();

        /**
         * Sets the value of the '{@link org.cosmact.vxml.model.Dialog#isStartDialog <em>Start Dialog</em>}' attribute.
         * <!-- begin-user-doc -->
         * <!-- end-user-doc -->
         * @param value the new value of the '<em>Start Dialog</em>' attribute.
         * @see #isStartDialog()
         * @generated
         */
        void setStartDialog(boolean value);

        /**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model connectionRequired="true"
         * @generated
         */
	void addConnection(DialogConnection connection);

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model connectionRequired="true"
         * @generated
         */
	void removeConnection(DialogConnection connection);

} // Dialog
